Ajax = {
	sendRequest:function(method, src, args, isAsyn, callback){
		var req;
		if(window.XMLHttpRequest){
			req = new XMLHttpRequest();
		}else{
			req = new ActiveXObject("Microsoft.XMLHTTP");
		}

		function change(){
			if(req.readyState == 4 && req.status == 200){
				var redirect = req.getResponseHeader("redirect");
				if(redirect){
					document.location.href = redirect;
				}
				callback(req);
			}
		}

		if(method.toLowerCase() == "get"){
			req.open(method, src + "?" + args + "&random=" + (new Date()).getTime(), isAsyn);
			req.onreadystatechange = change;
			req.send(null);
		}else{
			req.open(method, src + "?random=" + (new Date()).getTime(),isAsyn);
			req.onreadystatechange = change;
			req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			req.send(args);
		}
	},
	loadingImg:Utility.createElement("img", {src:"/image/ajax-loader.gif"}, {margin:"20px"}, null, null)
};